/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ig.util;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Ciro
 */
public class biigReporte {
    Connection con = null;
    public Connection getConection(){
        try {

            con = DriverManager.getConnection("net.sourceforge.jtds.jdbc.Driver", "sa", "sa1");


        } catch (SQLException ex) {
            Logger.getLogger(biigReporte.class.getName()).log(Level.SEVERE, null, ex);
        }

        return con;
    }

    public void ejeTiroFlujo(){
        try {
            Statement sta = con.createStatement();
            ResultSet res = sta.executeQuery("select * from biig_repor_rentabilidad where = 1");


            while(res.next()){

            }

        } catch (SQLException ex) {
            Logger.getLogger(biigReporte.class.getName()).log(Level.SEVERE, null, ex);
        }

    }

}
